package com.guosheng.test20181129;

import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;


public class Grade {
    public Grade() {
    }

    public Grade(String name, int count) {
        this.name = name;
        this.count = count;
    }

    private String name;
    private int count;

    @XmlElement(name="grade_name")
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @XmlAttribute(name="grade_count")
    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }
}
